﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmartSpace.Core;
using System.IO;
using SmartSapce.ServiceLocation;
using SmartSpace.Packaging;

namespace SmartSpace.WebApp._console.core
{
    public partial class theme_list : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ICoreService service = ServiceLocator.Get<ICoreService>();
                List<SiteTemplate> themes = service.GetSiteTemplates();
                _ctlList.DataSource = themes;
                _ctlList.DataBind();
            }
        }
    }
}